/**
 * Copyright (C), 2011-2016 The Store
 * File Name: GenericEvent.java
 * Encoding: UTF-8
 * Date: Feb 28, 2012
 * History: 
 */
package com.waynewan.qcomet.event;

import java.util.Date;

/**
 *
 * @author Wayne Wan(bestirwiny@gmail.com)
 * @version Revision: 1.00 Date: Feb 28, 2012
 */
public class GenericEvent extends BaseEvent {
	
	private String payload; 
	
	public GenericEvent(){
		super();
	}
	
	public GenericEvent(String token, String eventName ,long timestamp, String payload){
		super(token, eventName, timestamp);
		this.payload = payload;
	}
	
	public GenericEvent(String token, String eventName ,Date date, String payload){
		super(token, eventName, date);
		this.payload = payload;
	}

	public String getPayload() {
		return payload;
	}

	public void setPayload(String payload) {
		this.payload = payload;
	}
}
